﻿using RpcHelper.Validate;

namespace Wedonek.RpcStore.Service.Model
{
        public class VerRouteSet
        {
                /// <summary>
                /// 开始版本号
                /// </summary>
                [NumValidate ("rpc.ver.route.begin.error", 1000000, 999999999)]
                public long BeginVer
                {
                        get;
                        set;
                }
                /// <summary>
                /// 截止版本号
                /// </summary>
                [NumValidate ("rpc.ver.route.end.error", 1000000, 999999999)]
                public long EndVer { get; set; }
                /// <summary>
                /// 是否启用
                /// </summary>
                public bool IsEnable { get; set; }
        }
}
